<script type="text/javascript">
history.pushState({title:"login"}, "login", "fish/login");
window.addEventListener("popstate", function(event){
    if(event.state) {
        console.log(event.state,event.state.title);
     }
}, false);
</script>